import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';

@NgModule({
  imports: [
    RouterModule.forChild([
      {
        path: 'item',
        loadChildren: () => import('./item/item.module').then(m => m.JhbbItemModule),
      },
      {
        path: 'item-type',
        loadChildren: () => import('./item-type/item-type.module').then(m => m.JhbbItemTypeModule),
      },
      {
        path: 'order',
        loadChildren: () => import('./order/order.module').then(m => m.JhbbOrderModule),
      },
      {
        path: 'order-item',
        loadChildren: () => import('./order-item/order-item.module').then(m => m.JhbbOrderItemModule),
      },
      {
        path: 'logistic',
        loadChildren: () => import('./logistic/logistic.module').then(m => m.JhbbLogisticModule),
      },
      {
        path: 'receive-addr',
        loadChildren: () => import('./receive-addr/receive-addr.module').then(m => m.JhbbReceiveAddrModule),
      },
      {
        path: 'region',
        loadChildren: () => import('./region/region.module').then(m => m.JhbbRegionModule),
      },
      {
        path: 'country',
        loadChildren: () => import('./country/country.module').then(m => m.JhbbCountryModule),
      },
      {
        path: 'location',
        loadChildren: () => import('./location/location.module').then(m => m.JhbbLocationModule),
      },
      {
        path: 'department',
        loadChildren: () => import('./department/department.module').then(m => m.JhbbDepartmentModule),
      },
      {
        path: 'task',
        loadChildren: () => import('./task/task.module').then(m => m.JhbbTaskModule),
      },
      {
        path: 'employee',
        loadChildren: () => import('./employee/employee.module').then(m => m.JhbbEmployeeModule),
      },
      {
        path: 'job',
        loadChildren: () => import('./job/job.module').then(m => m.JhbbJobModule),
      },
      {
        path: 'job-history',
        loadChildren: () => import('./job-history/job-history.module').then(m => m.JhbbJobHistoryModule),
      },
      /* jhipster-needle-add-entity-route - JHipster will add entity modules routes here */
    ]),
  ],
})
export class JhbbEntityModule {}
